package com.xq.springboot.service.impl;

import com.xq.springboot.mapper.UserMapper;
import com.xq.springboot.pojo.User;
import com.xq.springboot.service.UserService;
import org.apache.shiro.crypto.hash.Md5Hash;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author xq
 * @date 2021/4/18 21:58
 * @version 1.0
 * @description 用户业务服务层接口实现层
 */
@Service
public class UserServiceImpl implements UserService{

    @Autowired
    private UserMapper userMapper;

    @Override
    public User getUserByUserName(String userName) {
        return this.userMapper.getUserByUserName(userName);
    }

}
